package com.taru.university.mapper;

import com.taru.university.model.Exchange;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Component("exchangeMapper")
public interface ExchangeMapper {
    List<Exchange> queryExchange();

    Exchange queryExchangeById(String exchangeId);

    void insertExchange(Exchange exchange);

    void deleteExchange(String exchangeId);
}
